///###############
//FILE          : SortedStructureDuplicateException.java
//WRITER        : Lior Zimmerman, liorz06, 066462300
//WRITER        : Ohad Dan, ohad_dan, 036767960
//EXERCISE      : oop ex1 2008
//DESCRIPTION   : this class represents an exception generated when a duplicate
//              : value inserted
//###############
package oop.ex1.sortedStructure;
/**
 * Handles an error of inserting an already existing key
 * to the structure.
 */
public class SortedStructureDuplicateException extends 
SortedStructureException {
	private static final long serialVersionUID = 1L;
	/**
     * In case of exception catch, an exception message should 
     * be prompted and directed to upper hierarchy implementation.
     * @param msg Prompt this message in case of an error.
     */
    public SortedStructureDuplicateException (String msg){
        super(msg);
    }

    /**
     * In case of exception catch, directed handling should be 
     * delivered to upper hierarchy implementation.
     */
    public SortedStructureDuplicateException (){
        super();
    }

}
